package ${packageName}.entity;

import java.io.Serial;
import java.io.Serializable;
<#list imports as import>
import ${import};
</#list>

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * ${tableRemarks}
 */
@Data
@TableName("${tableName}")
public class ${className} implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

<#list columns as column>
    /**
     * ${column.remarks}
     */
    <#if column.columnName == "id">
    @TableId(type = IdType.AUTO)
    </#if>
    private ${column.javaType} ${column.propertyName};

</#list>
}